package com.joinlabs.mapper;

import com.joinlabs.entity.Img;

public interface ImgMapper {
    int deleteByPrimaryKey(Long imgId);

    int insert(Img record);

    Img selectByPrimaryKey(Long imgId);

    int updateByPrimaryKeySelective(Img record);

    int updateByPrimaryKey(Img record);
    
    /**
     * * 插入一张图片
     * @param record
     * @return
     */
    int insertSelective(Img record);
}